<include file="__THEME__/header" />
<link href="../Public/css/space.css" rel="stylesheet" type="text/css" />
<script type="text/javascript">
function follow(){
	$.tbox.popup("{:U('ask/index/attention')}",'{:L(pop_ask_title)}',{ok:'subscibeCate'});
}
</script>
<div class="contents lbg B">
    <!--左边信息 begin-->
    <include file="../Public/home_left" />
    <div class="contents_min w787">
      <h3 class="tit_h3">
      <span class="add" onclick="follow()">{:L('add_follow')}</span>
        {:L('my_follow')}
      </h3>
      <php>if(count($sortList)==1){</php>
      <div class="restore_box">{:L('message_tips_ask')}</div>  
      <php>}else{</php>
         
      <div class="list_cate_nav">
        <div class="tab">
          <ul>
          		<volist name="sortList" k="key" id="vo">
            <li class="sam_status {$vo.class}">
              <span>
                <a href="{:U('home/Follow/sort','tab='.$key)}">{$vo.title|mStr=30}</a>
              </span>
            </li>
            </volist>
          </ul>
        </div>
      </div>
      <div class="list_conter base_input">
        <div>
          <table width="800" border="0" cellpadding="0" cellspacing="0">
            <tr height="20" class="tdbor_b">
              <td width="65%" align="left" class="pl10">{:L('list_title')}（{$count}{:L('list_num')}）</td>
              <td width="10%" align="center">{:L('list_ask_answer')}</td>
              <td width="10%" align="center">{:L('list_ask_status')}</td>
              <td width="15%" align="right">{:L('list_ask_ctime')}</td>
            </tr>
            <volist name="data" id="vo">
              <tr height="30"  class="tdbor">
                <td width="65%" align="left" class="pl10 colink f14">
                   <eq name="vo.type" value="1">
                    <span class="ico_money">{$vo.score}</span>
                </eq>
                	<a href="{:U('ask/Index/detail','id='.$vo[askId])}">{$vo.title}</a>
                 <a class="con_a" href="{:U('ask/Index/category','id='.$vo[categoryList])}">[ {$vo.category.title} ]</a></td>
                <td width="10%" align="center">{$vo.answerCount}</td>
                <td width="10%" align="center"><img src="{*SITE_URL}/apps/ask/Tpl/default/Public/images/status_{$vo.status}.gif"/></td>
                <td width="15%" align="right">{$vo.cTime|friendlyDate} </td>
              </tr>
            </volist>
          </table>
          <div class="C">
          </div>
          <div class="page mb30 alR mt10">
            {$html}
          </div>
        </div>
      </div>
      <php>}</php>
      
      <div class="C">
      </div>
    </div>
    <!--中间信息 begin-->
    <div class="C">
    </div>
  </div>
  <include file="__THEME__/footer" /> 